package Views;

import java.awt.Color;
import java.awt.Graphics;
/**
 * 
 * @author KOK Leng-Steven & RIEU Simon
 */
public abstract class DrawableForm 
{
    protected int width;
    protected int height;
    protected int x;
    protected int y;
    protected Color color;
            
    public DrawableForm(int width, int height, int x, int y) 
    {
        this.width = width;
        this.height = height;
        this.x = x;
        this.y = y;
        this.color = Color.BLACK;
    }
    
    public void setColor(Color color)
    {
        this.color = color;
    }
    
    public abstract void draw(Graphics g);
}
